package com.csun.nusing.ui.activity;

import android.app.DatePickerDialog;
import android.graphics.Bitmap;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.csun.nusing.R;
import com.csun.nusing.presenter.AddOldrestPresenter;
import com.csun.nusing.presenter.inter.IFilePost;
import com.csun.nusing.ui.BaseActivity;

import java.io.File;

/**
 * 添加老人界面 ClassName: AddOldrestAcrivity
 * 
 * @Description: TODO
 * @author fzq
 * @date 2017-10-23
 */
public class AddOldrestAcrivity extends BaseActivity<AddOldrestPresenter>
		implements IFilePost {

	private RelativeLayout photorl;
	private ImageView photoiv;
	private EditText nameet;
	private RadioGroup sexrg;
	private TextView bridaytv;
	private EditText phoneet;
	private TextView entertv;
	private String oldername;// 老人名字
	private String oldphone;// 老人电话
	protected int mYear = 1900;
	protected int mMonth = 1;
	protected int mDay = 1;
	private String briday;// 出生日期
	private String sex = "0";// 性别
	private int headphotoid;// 图像
	public DatePickerDialog datepickdialog;// 日期选择
	private EditText egnameet;
	private EditText egphoneet;
	private String egname;
	private String egphone;
	private File bigFile;
	private Bitmap bitmap;
	private Bitmap camorabitmap;
	private String fileName;
	
	@Override
	public int getContentViewId() {
		return R.layout.activity_nursing_add_oldrest;
	}

	@Override
	public void initSubViews(View view) {
		super.initSubViews(view);
		findView();
	}

	/**
	 * 初始控件
	 * 
	 * @Description: TODO
	 * @param
	 * @return void
	 * @throws
	 * @author fzq
	 * @date 2017-10-23
	 */
	private void findView() {


	}

	@Override
	public void initData() {
		super.initData();
		// 注册
	}


	@Override
	public void post(int picId) {

	}
}
